namespace :svn do

 desc "Adds all files with an svn status flag of '?'"

 task(:add_new) { 
   puts 'add_new files '
 }
 task :import => :environment do
   ms =  Message.find(:all)
   ms.each do |m|
     sleep 0.01 
     puts "---------------------------"
     puts "|" + m.name + "|"
     puts "---------------------------"
   end
 end


end










 #task(:add_new) { 'svn status | awk '/\\?/ {print $2}' | xargs svn add' }
